<template>
	<view class="container">
		<view class="tool">
			<view class="tool-item">
				<view>品牌</view>
				<uni-icons type="arrowdown"></uni-icons>
			</view>
			<view class="tool-item">
				<view>季节</view>
				<uni-icons type="arrowdown"></uni-icons>
			</view>
		</view>
		<view class="list">
			<view class="list-item" v-for="item in listData" :key="item">
				<image class="item-image" src="/static/cloth.jpg" @click="itemClick"></image>
			</view>
		</view>
		<uni-load-more status="more"></uni-load-more>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				listData: [
					1,2,3,4,5,6,7,8,9,10
				]
			}
		},
		methods: {
			itemClick(){
				uni.navigateTo({
					url: "/pages/product/product"
				})
			}
		}
	}
</script>

<style>
	.container{
		font-size: 26rpx;
	}
	.tool{
		display: flex;
		flex-direction: row;
		height: 60rpx;
		line-height: 60rpx;
	}
	.tool-item{
		margin-left: 20rpx;
		margin-right: 12rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.list{
		width: 720rpx;
		margin: 10rpx auto;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.list-item{
		width: 350rpx;
	}
	.item-image{
		width: 100%;
	}
</style>
